<template>
  <div>
    <a href="javascript:;" v-for="num in 5" :key="num"
      @click="jumpHandler(num)">
      {{num}}
    </a>
  </div>
</template>

<script>
export default {
  data () {
    return {
      
    }
  },
  methods: {
    jumpHandler(num) {
      this.$emit('change-page', num)
    }
  }
}
</script>

<style scoped>

</style>
